import { EUserSelectType } from '../types';

export function useOpenSelect() {
	const selectRef = ref();

	function openSelect(type: EUserSelectType) {
		selectRef.value.open(type);
	}

	return {
		selectRef,
		openSelect,
	};
}
